package com.surenpi.jenkins.client.workflow;

import com.surenpi.jenkins.client.BaseModel;
import com.surenpi.jenkins.client.JenkinsClient;

public class StageFlowNodesLog extends BaseModel {
   String nodeId;
   String nodeStatus;
   long length;
   boolean hasMore;
   String text;
   String consoleUrl;
   private JenkinsClient client;

   public String getNodeId() {
      return this.nodeId;
   }

   public void setNodeId(String nodeId) {
      this.nodeId = nodeId;
   }

   public String getNodeStatus() {
      return this.nodeStatus;
   }

   public void setNodeStatus(String nodeStatus) {
      this.nodeStatus = nodeStatus;
   }

   public long getLength() {
      return this.length;
   }

   public void setLength(long length) {
      this.length = length;
   }

   public boolean isHasMore() {
      return this.hasMore;
   }

   public void setHasMore(boolean hasMore) {
      this.hasMore = hasMore;
   }

   public String getText() {
      return this.text;
   }

   public void setText(String text) {
      this.text = text;
   }

   public String getConsoleUrl() {
      return this.consoleUrl;
   }

   public void setConsoleUrl(String consoleUrl) {
      this.consoleUrl = consoleUrl;
   }

   public String toString() {
      return "StageFlowNodesLog [nodeId=" + this.nodeId + ", nodeStatus=" + this.nodeStatus + ", length=" + this.length + ", hasMore=" + this.hasMore + ", text=" + this.text + ", consoleUrl=" + this.consoleUrl + "]";
   }

   public void setClient(JenkinsClient client) {
      this.client = client;
   }
}
